home *** CD-ROM | disk | FTP | other *** search
- // Borland C++ Builder
- // Copyright (c) 1995, 1998 by Borland International
- // All rights reserved
-
- // (DO NOT EDIT: machine generated header) 'AHMTAutoCombo.pas' rev: 3.00
-
- #ifndef AHMTAutoComboHPP
- #define AHMTAutoComboHPP
- #include <AHMSControls.hpp>
- #include <StdCtrls.hpp>
- #include <Controls.hpp>
- #include <Graphics.hpp>
- #include <Classes.hpp>
- #include <SysUtils.hpp>
- #include <Messages.hpp>
- #include <Windows.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
-
- namespace Ahmtautocombo
- {
- //-- type declarations -------------------------------------------------------
- typedef void __fastcall (__closure *TAHMOnComplete)(System::TObject* Sender, Word Char, System::AnsiString
- TrackedItem, bool &ChangeSelection);
-
- class DELPHICLASS TAHMAutoCombo;
- class PASCALIMPLEMENTATION TAHMAutoCombo : public Stdctrls::TComboBox
- {
- typedef Stdctrls::TComboBox inherited;
-
- private:
- Ahmscontrols::TAHMAboutSControlStr FAboutStr;
- bool FComplete;
- Word FChar;
- Word FMinLength;
- TAHMOnComplete FOnComplete;
- void __fastcall SetComplete(bool value);
- void __fastcall SetMinLength(Word value);
-
- protected:
- DYNAMIC void __fastcall KeyDown(Word &Key, Classes::TShiftState Shift);
- DYNAMIC void __fastcall Change(void);
-
- public:
- __fastcall virtual TAHMAutoCombo(Classes::TComponent* aOwner);
-
- __published:
- __property Ahmscontrols::TAHMAboutSControlStr About = {read=FAboutStr, write=FAboutStr};
- __property bool Complete = {read=FComplete, write=SetComplete, nodefault};
- __property Word MinComplete = {read=FMinLength, write=SetMinLength, nodefault};
- __property TAHMOnComplete OnComplete = {read=FOnComplete, write=FOnComplete};
- public:
- /* TCustomComboBox.Destroy */ __fastcall virtual ~TAHMAutoCombo(void) { }
-
- public:
- /* TWinControl.CreateParented */ __fastcall TAHMAutoCombo(HWND ParentWindow) : Stdctrls::TComboBox(
- ParentWindow) { }
-
- };
-
- //-- var, const, procedure ---------------------------------------------------
-
- } /* namespace Ahmtautocombo */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Ahmtautocombo;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // AHMTAutoCombo
-